package com.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 门诊挂号
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisRegistration对象", description = "门诊挂号")
public class THisRegistration {

    private static final long serialVersionUID = 1L;

    @TableId(value = "registration_id", type = IdType.AUTO)
    private Long registrationId;

    @ApiModelProperty(value = "患者ID")
    private Integer patientId;

    @ApiModelProperty(value = "医生ID")
    private Integer physicianId;

    @ApiModelProperty(value = "操作员ID")
    private Integer operatorId;

    @ApiModelProperty(value = "诊所ID")
    private Integer companyId;

    @ApiModelProperty(value = "科室ID")
    private Integer departmentId;

    @ApiModelProperty(value = "挂号费用ID")
    private Integer registeredfeeId;

    @ApiModelProperty(value = "挂号总金额")
    private Float registrationAmount;

    @ApiModelProperty(value = "挂号编号")
    private Long registrationNumber;

    @ApiModelProperty(value = "挂号状态,1为待就诊，3为已退号，2为已就诊,4为作废，5,为未付款,6，为部分支付")
    private Integer registrationStatus;

    @ApiModelProperty(value = "排班主表ID")
    private Integer schedulingId;

    @ApiModelProperty(value = "排班时段表ID")
    private Integer schedulingSubsectionId;

    @ApiModelProperty(value = "排班星期表ID")
    private Integer schedulingWeekId;

    private Integer createTime;

    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;

    @ApiModelProperty(value = "收费总表care_pkg.id")
    private Integer pkgId;


}
